package com.example.su_shi_tan_bas_lib.album;


import com.example.su_shi_tan_bas_lib.album.impl.SingleImageAlbum;
import com.example.su_shi_tan_bas_lib.album.impl.VideoAlbum;

public class Album     {

    private Album() {
    }


    private static final class AlbumHolder {
        private final static Album INSTANCE = new Album();
    }

    public static Album getInstance() {
        return AlbumHolder.INSTANCE;
    }


    public SingleImageAlbum singleImage(){
        return new SingleImageAlbum(false);
    }
    public SingleImageAlbum singleImage(boolean isUseCamera){
        return new SingleImageAlbum(isUseCamera);
    }
    public SingleImageAlbum multipleImageAlbum(){
        return new SingleImageAlbum(true);
    }

    public VideoAlbum singleVideo(){
        return new VideoAlbum(false);
    }

    public VideoAlbum multipleVideo(){
        return new VideoAlbum(true);
    }



}
